package com.read.mapper;

import com.read.dto.result.NovelNameResultDto;
import com.read.entity.NovelSystemRecommend;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NovelSystemRecommendMapper {
    int insert(NovelSystemRecommend record);

    int insertSelective(NovelSystemRecommend record);

    /**
     * @description
     * @author sh-sunb6
     * @date 2019-03-15 15:10
     */
    List<NovelNameResultDto> selectSystemRecommendByTypeChannel(@Param("type") int type, @Param("channel") int channel);
}